<div id="contractCreateFeeAddModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
    aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">
                    <span>
                        <vc:i18n name="创建费用" namespace="contractCreateFeeAdd"></vc:i18n>
                    </span>
                </h3>
                <div class="ibox-content">

                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="费用类型" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="contractCreateFeeAddInfo.feeTypeCd"
                                @change="_changeFeeTypeCdX(contractCreateFeeAddInfo.feeTypeCd)">
                                <option selected disabled value="">
                                    {{vc.i18n('必填，请选择费用类型','contractCreateFeeAdd')}}
                                </option>
                                <option v-for="(item,index) in contractCreateFeeAddInfo.feeTypeCds" :key="index"
                                    v-bind:value="item.statusCd"
                                    v-if="item.statusCd !='888800010008' && item.statusCd !='888800010017'">
                                    {{item.name}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="收费项目" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="contractCreateFeeAddInfo.configId"
                                @change="_contractCreateFeeAddIfOnceFee(contractCreateFeeAddInfo.configId)">
                                <option selected disabled value="">
                                    {{vc.i18n('必填，请选择收费项目','contractCreateFeeAdd')}}
                                </option>
                                <option v-for="(item,index) in contractCreateFeeAddInfo.feeConfigs" :key="index"
                                    v-bind:value="item.configId">{{item.feeName}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row" v-if="contractCreateFeeAddInfo.computingFormula == '4004'">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="收费金额" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model.trim="contractCreateFeeAddInfo.amount" type="text"
                                :placeholder="vc.i18n('必填，请填写收费金额','contractCreateFeeAdd')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row" v-if="contractCreateFeeAddInfo.isMore == true">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="合同状态" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <div class="checkbox custom-control-inline">
                                <label>
                                    <input type="checkbox" v-model="contractCreateFeeAddInfo.contractState"
                                        value="2001">
                                    <span>
                                        <vc:i18n name="待审核" namespace="contractCreateFeeAdd"></vc:i18n>
                                    </span>
                                </label>
                            </div>
                            <div class="checkbox custom-control-inline">
                                <label>
                                    <input type="checkbox" v-model="contractCreateFeeAddInfo.contractState"
                                        value="2003">
                                    <span>
                                        <vc:i18n name="审核中" namespace="contractCreateFeeAdd"></vc:i18n>
                                    </span>
                                </label>
                            </div>
                            <div class="checkbox custom-control-inline">
                                <label>
                                    <input type="checkbox" v-model="contractCreateFeeAddInfo.contractState"
                                        value="2005">
                                    <span>
                                        <vc:i18n name="审核完成" namespace="contractCreateFeeAdd"></vc:i18n>
                                    </span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="计费起始时间" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="contractCreateFeeAddInfo.startTime" type="text"
                                :placeholder="vc.i18n('必填，请填写计费起始时间','contractCreateFeeAdd')"
                                class="form-control contractCreateFeeStartTime">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="计费结束时间" namespace="contractCreateFeeAdd"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="contractCreateFeeAddInfo.endTime" type="text"
                                :placeholder="vc.i18n('必填，请填写计费结束时间','contractCreateFeeAdd')"
                                class="form-control contractCreateFeeEndTime">
                        </div>
                    </div>
                    <div class="ibox-content">

                        <span>
                            <vc:i18n name="注：批量创建的费用在合同收费的查看费用中显示" namespace="addMeterWater"></vc:i18n>
                        </span>

                        <button class="btn btn-primary float-right" type="button"
                            v-on:click="saveContractCreateFeeInfo()">
                            <i class="fa fa-check"></i>&nbsp;提交
                        </button>
                        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            data-dismiss="modal">
                            <i class="fa fa-times"></i>&nbsp;取消
                        </button>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>